#ifndef _COMPENSASION_H
#define _COMPENSASION_H

typedef struct {
  const char *fc_X;
  const char *fc_Y;
  const char *fc_Z;
  const char *mag_uncompensated;    // 未补磁总场1

  const char *mag_uncompensated_lp; // 未补磁低通1
  const char *mag_uncompensated_hp; // 未补磁高通1
  const char *mag_compensation;     // 补偿值1
  const char *mag_compensated_hp;   // 已补磁高通1
  const char *mag_compensated_total;// 已补磁总场1
  const char *json_coef_file;

} COMPENSASION_PARAMS;

#include <windows.h>

extern "C" __declspec(dllexport) bool gdb_compensate(
    HANDLE hGDB,                   // GDB handle          // 输入
    COMPENSASION_PARAMS *p_params  // Compensasion params // 输入
);

#endif
